package chapter05;

public class Main_Ticket {

	public static void main(String[] args) {
		TicketMaker tm1 = new TicketMaker();
		TicketMaker tm2 = new TicketMaker();
		System.out.println(tm1.getNextTicketNumber());
		System.out.println(tm2.getNextTicketNumber());
		
		System.out.println(TicketMakerSingle.getNextTicketNumber());
		System.out.println(TicketMakerSingle.getNextTicketNumber());
	}

}
